package ace.tool.generate.code.impl.generator.graphql;

import ace.tool.generate.code.impl.generator.GeneratorInput;
import java.util.List;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author caspar
 * @date 2023/11/17 9:57
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class GraphqlSchemaGeneratorInput implements GeneratorInput<List<Class>> {
  /**
   * 模板文件
   */
  @Builder.Default private String templateFile = "/graphql/GraphqlSchema.ftl";

  /**
   * 输出文件目录
   */
  @Builder.Default private String outputDir = "./target/generated-resources/graphql";

  /**
   * 输出文件名称
   */
  @Builder.Default private String outputFileName = "schema-auto-generate.graphqls";

  /**
   *
   */
  private List<Class> params;
}
